package com.social.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.social.pojo.Petition;
import com.social.pojo.Result;
import com.social.pojo.vto.PetitonVO;
import org.springframework.amqp.core.AmqpTemplate;

import java.util.List;

/**
 * @author zero
 * @version 1.0
 * @project demo
 * @description
 * @date 2022/9/30 11:36:59
 */
public interface PetitionService extends IService<Petition> {
    Result add(Petition petition);

    Result update(Petition petition);

    Result getPetitionById(Integer id);

    Result findByUserId(Integer currentPage, Integer pageSize);

    Result findAll(Integer currentPage, Integer pageSize);

    Result sendMessage();

    List<Petition> getTodayPetition();

    Result findByCondition(PetitonVO petitonVO);

    Result deal(Petition reply);

    Result findSpeedProcess(String findCode);
}

